package com.ksd.modules.advert.po;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author 飞哥
 * @date 2023-08-15$ 22:52$
 */
@Data
public class AdminAdvertSortPO implements java.io.Serializable{

    @NotNull(message = "当前id不允许空")
    @ApiModelProperty("当前id")
    private Long id;
    private Long cid;

    @NotNull(message = "交换的id不允许空")
    @ApiModelProperty("交换的id")
    private Long npid;

    @NotBlank(message = "排序标识不能为空")
    @ApiModelProperty("down/up")
    private String flag;
}
